
#ifndef KTRACE_KTRACE_HPP__
# define KTRACE_KTRACE_HPP__

# include "Options.hpp"

namespace Ktracens
{
	class Ktrace
	{
		public:
			Ktrace(Options const & options);
			virtual ~Ktrace();

		public:
			void run();

		private:
			void _forkCommand();
			char** _buildCommandFromOptions() const;
			bool _checkOutfile() const;

		private:
			Options const & _options;
			int _pid;
	};
}

#endif // KTRACE_KTRACE_HPP__

